package com.swxc.ssm.mapper;

import com.swxc.ssm.po.Course;
import com.swxc.ssm.po.User;

import java.util.List;

public interface UserMapper {
    int deleteByPrimaryKey(Integer ID);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer ID);


    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    User selectByEmail(String email);

    List<Course> selectByStatus(Integer ID);
}